package cn.tedu.tmall.front.mall.service;

import cn.tedu.tmall.common.pojo.po.CurrentUser;
import cn.tedu.tmall.front.mall.pojo.vo.CartVO;

import java.util.List;

public interface ICartService {
    void addCart(CurrentUser user, Long goodsId, Integer goodsNum);

    void modify(CurrentUser user, Long goodsId, Integer goodsNum);

    void increase(CurrentUser user, Long goodsId, Integer goodsNum);

    List<CartVO> getCartList(CurrentUser user);

    void delete(CurrentUser user, Long goodsId);

    void checked(CurrentUser user, Long goodsId, Integer checked);
}
